Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify custom highlight / unhighlight functions #122

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

xsustek
Copy link

@xsustek xsustek commented Aug 26, 2024

Adds ability to specify custom highlight / unhighlight functions, defaults to original behavior and just swaps classes.

Fixes #38

@xsustek xsustek marked this pull request as ready for review August 26, 2024 10:54
src/index.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@dahlbyk dahlbyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider adding highlight/unhighlight events
2 participants